﻿@{ 
    var controller = ViewContext.RouteData.Values["controller"].ToString().ToLower();
    var action = ViewContext.RouteData.Values["action"].ToString().ToLower();
}
<ul class="page-sidebar-menu">
    <li class="sidebar-toggler-wrapper">
        <!-- BEGIN SIDEBAR TOGGLER BUTTON -->
        <div class="sidebar-toggler">
        </div>
        <div class="clearfix">
        </div>
        <!-- BEGIN SIDEBAR TOGGLER BUTTON -->
    </li>
    <li class="start @("home".Equals(controller) ? "active": "")">
        <a href="@Url.Action("Index", "Home")">
            <i class="fa fa-home"></i>
            <span class="title">主页</span>
        </a>
    </li>
    <li class="start @("daily".Equals(controller) ? "active": "")">
        <a href="@Url.Action("Index", "Daily")">
            <i class="fa fa-tasks"></i>
            <span class="title">计划定制</span>
        </a>
    </li>

    <li class="start @("article".Equals(controller) ? "active": "")">
        <a href="@Url.Action("Index", "Article")">
            <i class="fa fa-pencil-square"></i>
            <span class="title">文章管理</span>
        </a>
    </li>

    @*<li class="">
        <a href="javascript:;">
            <i class="fa fa-cogs"></i>
            <span class="title">计划管理</span>
            <span class="selected"></span>
            <span class="arrow open"></span>
        </a>
        <ul class="sub-menu">
            <li>
                <a href="@Url.Action("Today", "Daily")">今日</a>
            </li>
            <li>
                <a href="@Url.Action("Index","Daily")">每日计划</a>
            </li>
        </ul>
    </li>*@
</ul>